package com.smartmedical.system.api;

import com.smartmedical.common.core.constant.ServiceNameConstants;
import com.smartmedical.common.core.domain.HealthR;

import com.smartmedical.common.core.domain.R;
import com.smartmedical.system.api.domain.PatientUsers;
import com.smartmedical.system.api.factory.RemoteUserFallbackFactory;

import com.smartmedical.system.api.model.PatientUserJwt;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * 用户服务
 *
 * @author ruoyi
 */
@FeignClient(contextId = "remotePatientUserService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteUserFallbackFactory.class)
public interface RemotePatientUserService
{



    @PostMapping("/user/v1/login")
    R<PatientUserJwt> getDoctorInfo(@RequestParam("email") String email);
}
